/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.common;

import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;

/**
 *
 * @author starfinder
 */
public class Util {
    public static String getDefaultFolder() {
        ServletContext context = (ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext();
        return context.getRealPath("/").replace('\\','/');
    }
}
